 # Triggers are in Province scope. The From Scope contains the settlement holder (character)
 # start trigger is in title scope.
 
 #<tag> = {
 #	desc = description used in the tooltip of the building
 #	trigger = used for tech requirement of the building, set to 0 if no requirement so it can be build automatically on new games
 #	build_cost = cost to build the building
 #	build_time = time to build, in days
 #	
 #	ai_creation_factor = weight that the AI uses to determine what building to build
 #	extra_tech_building_start = when starting a new game this building will be pre-built if the province has higher tech than the requirement + this + random 0-1
 #}
 
 # Castle
castle = {
	# All cultural buildings follow the same pattern:
	# tech required is 0, 1, 2, 4 for the levels of the buildings
	# cost is 200 + 100 per level
	# 60 maintenance of troops + 20 per level
	# + 0.15 bonus in either offensive, defensive or morale sometimes split over different units or stats same on all levels
	
	# Culture building names MUST start with ca_culture

	#Welsh and English Longbow archery range
	ca_culture_saxon_english_1 = {
		desc = ca_culture_saxon_english_1_desc
		potential = {
			FROM = {
				OR = {
					culture = english
					culture = welsh
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		prerequisites = { ca_wall_2 }
		build_cost = 200
		build_time = 730
		archers_offensive = 0.15
		archers = 60
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_saxon_english_2 = {
		desc = ca_culture_saxon_english_1_desc
		potential = {
			FROM = {
				OR = {
					culture = english
					culture = welsh
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 1 }
		upgrades_from = ca_culture_saxon_english_1
		build_cost = 300
		build_time = 1095
		archers_offensive = 0.15
		archers = 80
		ai_creation_factor = 100
		
		extra_tech_building_start = 0.8
	}
	ca_culture_saxon_english_3 = {
		desc = ca_culture_saxon_english_1_desc
		potential = {
			FROM = {
				OR = {
					culture = english
					culture = welsh
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 2 }
		upgrades_from = ca_culture_saxon_english_2
		build_cost = 400
		build_time = 2190
		archers_offensive = 0.15
		archers = 100
		ai_creation_factor = 99
		
		extra_tech_building_start = 0.8
	}
	ca_culture_saxon_english_4 = {
		desc = ca_culture_saxon_english_1_desc
		potential = {
			FROM = {
				OR = {
					culture = english
					culture = welsh
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 4 }
		upgrades_from = ca_culture_saxon_english_3
		build_cost = 500
		build_time = 2190
		archers_offensive = 0.15
		archers = 120
		ai_creation_factor = 98
		
		extra_tech_building_start = 0.8
	}

	#Scottish Schiltron
	ca_culture_scottish_1 = {
		desc = ca_culture_scottish_1_desc
		potential = {
			FROM = {
				OR = {
					culture = scottish
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		prerequisites = { ca_wall_2 }
		build_cost = 200
		build_time = 730
		pikemen = 30
		pikemen_defensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_scottish_2 = {
		desc = ca_culture_scottish_1_desc
		potential = {
			FROM = {
				OR = {
					culture = scottish
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 1 }
		upgrades_from = ca_culture_scottish_1
		build_cost = 300
		build_time = 1095
		pikemen = 40
		pikemen_defensive = 0.15
		ai_creation_factor = 100
		
		extra_tech_building_start = 0.8
	}
	ca_culture_scottish_3 = {
		desc = ca_culture_scottish_1_desc
		potential = {
			FROM = {
				OR = {
					culture = scottish
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 2 }
		upgrades_from = ca_culture_scottish_2
		build_cost = 400
		build_time = 2190
		pikemen = 60
		pikemen_defensive = 0.15
		ai_creation_factor = 99
		
		extra_tech_building_start = 0.8
	}
	ca_culture_scottish_4 = {
		desc = ca_culture_scottish_1_desc
		potential = {
			FROM = {
				OR = {
					culture = scottish
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 4 }
		upgrades_from = ca_culture_scottish_3
		build_cost = 500
		build_time = 2190
		pikemen = 80
		pikemen_defensive = 0.15
		ai_creation_factor = 98
		
		extra_tech_building_start = 0.8
	}	
	
	#Baltic tribes Heavy Infantry camps
	ca_culture_group_baltic_1 = {
		desc = ca_culture_group_baltic_1_desc
		potential = {
			FROM = {
				OR = {
					culture_group = baltic
					culture_group = finno_ugric
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		prerequisites = { ca_wall_2 }
		build_cost = 200
		build_time = 730
		heavy_infantry = 30
		heavy_infantry_defensive = 0.15
		ai_creation_factor = 101

		extra_tech_building_start = 0.8
	}
	ca_culture_group_baltic_2 = {
		desc = ca_culture_group_baltic_1_desc
		potential = {
			FROM = {
				OR = {
					culture_group = baltic
					culture_group = finno_ugric
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 1 }
		upgrades_from = ca_culture_group_baltic_1
		build_cost = 300
		build_time = 1095
		heavy_infantry = 40
		heavy_infantry_defensive = 0.15
		ai_creation_factor = 100
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_baltic_3 = {
		desc = ca_culture_group_baltic_1_desc
		potential = {
			FROM = {
				OR = {
					culture_group = baltic
					culture_group = finno_ugric
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 2 }
		upgrades_from = ca_culture_group_baltic_2
		build_cost = 400
		build_time = 2190
		heavy_infantry = 50
		heavy_infantry_defensive = 0.15
		ai_creation_factor = 99
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_baltic_4 = {
		desc = ca_culture_group_baltic_1_desc
		potential = {
			FROM = {
				OR = {
					culture_group = baltic
					culture_group = finno_ugric
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 4 }
		upgrades_from = ca_culture_group_baltic_3
		build_cost = 500
		build_time = 2190
		heavy_infantry = 60
		heavy_infantry_defensive = 0.15
		ai_creation_factor = 98
		
		extra_tech_building_start = 0.8
	}
	
	#Altaic horse breeders (and Persian)
	ca_culture_group_altaic_1 = {
		desc = ca_culture_group_altaic_1_desc
		potential = {
			FROM = { 
				OR = {
					culture_group = altaic
					culture_group = iranian
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		prerequisites = { ca_wall_2 }
		build_cost = 200
		build_time = 730
		light_cavalry = 10
		knights = 5
		horse_archers = 10
		horse_archers_offensive = 0.1
		horse_archers_morale = 0.05
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_altaic_2 = {
		desc = ca_culture_group_altaic_1_desc
		potential = {
			FROM = { 
				OR = {
					culture_group = altaic
					culture_group = iranian
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 1 }
		upgrades_from = ca_culture_group_altaic_1
		build_cost = 300
		build_time = 1095
		light_cavalry = 15
		knights = 5
		horse_archers = 15
		horse_archers_offensive = 0.1
		horse_archers_morale = 0.05
		ai_creation_factor = 100
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_altaic_3 = {
		desc = ca_culture_group_altaic_1_desc
		potential = {
			FROM = { 
				OR = {
					culture_group = altaic
					culture_group = iranian
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 2 }
		upgrades_from = ca_culture_group_altaic_2
		build_cost = 400
		build_time = 2190
		light_cavalry = 15
		knights = 10
		horse_archers = 15
		horse_archers_offensive = 0.1
		horse_archers_morale = 0.05
		ai_creation_factor = 99
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_altaic_4 = {
		desc = ca_culture_group_altaic_1_desc
		potential = {
			FROM = { 
				OR = {
					culture_group = altaic
					culture_group = iranian
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 4 }
		upgrades_from = ca_culture_group_altaic_3
		build_cost = 500
		build_time = 2190
		light_cavalry = 20
		knights = 10
		horse_archers = 20
		horse_archers_offensive = 0.1
		horse_archers_morale = 0.05
		ai_creation_factor = 98
		
		extra_tech_building_start = 0.8
	}
	
	#Frankish, Occitan, Norman and German Lists (and Breton)
	ca_culture_frank_norman_german_1 = {
		desc = ca_culture_frank_norman_german_1_desc
		potential = {
			FROM = {
				OR = {
					culture = frankish
					culture = occitan
					culture = norman
					culture = german
					culture = breton
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		prerequisites = { ca_wall_2 }
		build_cost = 200
		build_time = 730
		knights = 15
		knights_offensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_frank_norman_german_2 = {
		desc = ca_culture_frank_norman_german_1_desc
		potential = {
			FROM = {
				OR = {
					culture = frankish
					culture = occitan
					culture = norman
					culture = german
					culture = breton
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 1 }
		upgrades_from = ca_culture_frank_norman_german_1
		build_cost = 300
		build_time = 1095
		knights = 20
		knights_offensive = 0.15
		ai_creation_factor = 100
		
		extra_tech_building_start = 0.8
	}
	ca_culture_frank_norman_german_3 = {
		desc = ca_culture_frank_norman_german_1_desc
		potential = {
			FROM = {
				OR = {
					culture = frankish
					culture = occitan
					culture = norman
					culture = german
					culture = breton
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 2 }
		upgrades_from = ca_culture_frank_norman_german_2
		build_cost = 400
		build_time = 2190
		knights = 25
		knights_offensive = 0.15
		ai_creation_factor = 99
		
		extra_tech_building_start = 0.8
	}
	ca_culture_frank_norman_german_4 = {
		desc = ca_culture_frank_norman_german_1_desc
		potential = {
			FROM = {
				OR = {
					culture = frankish
					culture = occitan
					culture = norman
					culture = german
					culture = breton
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 4 }
		upgrades_from = ca_culture_frank_norman_german_3
		build_cost = 500
		build_time = 2190
		knights = 30
		knights_offensive = 0.15
		ai_creation_factor = 98
		
		extra_tech_building_start = 0.8
	}	
	
	#Iberian Fast horse breeders
	ca_culture_group_iberian_1 = {
		desc = ca_culture_group_iberian_1_desc
		potential = {
			FROM = { culture_group = iberian }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		prerequisites = { ca_wall_2 }
		build_cost = 200
		build_time = 730
		light_cavalry = 30
		light_cavalry_offensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_iberian_2 = {
		desc = ca_culture_group_iberian_1_desc
		potential = {
			FROM = { culture_group = iberian }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 1 }
		upgrades_from = ca_culture_group_iberian_1
		build_cost = 300
		build_time = 1095
		light_cavalry = 40
		light_cavalry_offensive = 0.15
		ai_creation_factor = 100
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_iberian_3 = {
		desc = ca_culture_group_iberian_1_desc
		potential = {
			FROM = { culture_group = iberian }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 2 }
		upgrades_from = ca_culture_group_iberian_2
		build_cost = 400
		build_time = 2190
		light_cavalry = 50
		light_cavalry_offensive = 0.15
		ai_creation_factor = 99
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_iberian_4 = {
		desc = ca_culture_group_iberian_1_desc
		potential = {
			FROM = { culture_group = iberian }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 4 }
		upgrades_from = ca_culture_group_iberian_3
		build_cost = 500
		build_time = 2190
		light_cavalry = 60
		light_cavalry_offensive = 0.15
		ai_creation_factor = 98
		
		extra_tech_building_start = 0.8
	}
	
	#Italian Pike formations
	ca_culture_italian_1 = {
		desc = ca_culture_italian_1_desc
		potential = {
			FROM = { culture = italian }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		prerequisites = { ca_wall_2 }
		build_cost = 200
		build_time = 730
		pikemen = 30
		pikemen_morale = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_italian_2 = {
		desc = ca_culture_italian_1_desc
		potential = {
			FROM = { culture = italian }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 1 }
		upgrades_from = ca_culture_italian_1
		build_cost = 300
		build_time = 1095
		pikemen = 40
		pikemen_morale = 0.15
		ai_creation_factor = 100
		
		extra_tech_building_start = 0.8
	}
	ca_culture_italian_3 = {
		desc = ca_culture_italian_1_desc
		potential = {
			FROM = { culture = italian }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 2 }
		upgrades_from = ca_culture_italian_2
		build_cost = 400
		build_time = 2190
		pikemen = 50
		pikemen_morale = 0.15
		ai_creation_factor = 99
		
		extra_tech_building_start = 0.8
	}
	ca_culture_italian_4 = {
		desc = ca_culture_italian_1_desc
		potential = {
			FROM = { culture = italian }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 4 }
		upgrades_from = ca_culture_italian_3
		build_cost = 500
		build_time = 2190
		pikemen = 60
		pikemen_morale = 0.15
		ai_creation_factor = 98
		
		extra_tech_building_start = 0.8
	}
	
	#Russian Armories
	ca_culture_russian_1 = {
		desc = ca_culture_russian_1_desc
		potential = {
			FROM = { culture = russian }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		prerequisites = { ca_wall_2 }
		build_cost = 200
		build_time = 730
		heavy_infantry = 30
		heavy_infantry_defensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_russian_2 = {
		desc = ca_culture_russian_1_desc
		potential = {
			FROM = { culture = russian }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 1 }
		upgrades_from = ca_culture_russian_1
		build_cost = 300
		build_time = 1095
		heavy_infantry = 40
		heavy_infantry_defensive = 0.15
		ai_creation_factor = 100
		
		extra_tech_building_start = 0.8
	}
	ca_culture_russian_3 = {
		desc = ca_culture_russian_1_desc
		potential = {
			FROM = { culture = russian }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 2 }
		upgrades_from = ca_culture_russian_2
		build_cost = 400
		build_time = 2190
		heavy_infantry = 50
		heavy_infantry_defensive = 0.15
		ai_creation_factor = 99
		
		extra_tech_building_start = 0.8
	}
	ca_culture_russian_4 = {
		desc = ca_culture_russian_1_desc
		potential = {
			FROM = { culture = russian }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 4 }
		upgrades_from = ca_culture_russian_3
		build_cost = 500
		build_time = 2190
		heavy_infantry = 60
		heavy_infantry_defensive = 0.15
		ai_creation_factor = 98
		
		extra_tech_building_start = 0.8
	}
	
	# Scandinavian Housecarls (and Saxon)
	ca_culture_group_north_germanic_1 = {
		desc = ca_culture_group_north_germanic_1_desc
		potential = {
			FROM = {
				OR = {
					culture_group = north_germanic
					culture = saxon
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		prerequisites = { ca_wall_2 }
		build_cost = 200
		build_time = 730
		heavy_infantry = 30
		heavy_infantry_offensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_north_germanic_2 = {
		desc = ca_culture_group_north_germanic_1_desc
		potential = {
			FROM = {
				OR = {
					culture_group = north_germanic
					culture = saxon
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 1 }
		upgrades_from = ca_culture_group_north_germanic_1
		build_cost = 300
		build_time = 1095
		heavy_infantry = 40
		heavy_infantry_offensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_north_germanic_3 = {
		desc = ca_culture_group_north_germanic_1_desc
		potential = {
			FROM = {
				OR = {
					culture_group = north_germanic
					culture = saxon
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 2 }
		upgrades_from = ca_culture_group_north_germanic_2
		build_cost = 400
		build_time = 2190
		heavy_infantry = 50
		heavy_infantry_offensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_north_germanic_4 = {
		desc = ca_culture_group_north_germanic_1_desc
		potential = {
			FROM = {
				OR = {
					culture_group = north_germanic
					culture = saxon
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 4 }
		upgrades_from = ca_culture_group_north_germanic_3
		build_cost = 500
		build_time = 2190
		heavy_infantry = 60
		heavy_infantry_offensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	
	# Hungarian Hussars (and West Slavic)
	ca_culture_hungarian_1 = {
		desc = ca_culture_hungarian_1_desc
		potential = {
			FROM = { 
				OR = {
					culture = hungarian
					culture_group = west_slavic
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		prerequisites = { ca_wall_2 }
		build_cost = 200
		build_time = 730
		light_cavalry = 30
		light_cavalry_defensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_hungarian_2 = {
		desc = ca_culture_hungarian_1_desc
		potential = {
			FROM = { 
				OR = {
					culture = hungarian
					culture_group = west_slavic
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 1 }
		upgrades_from = ca_culture_hungarian_1
		build_cost = 300
		build_time = 1095
		light_cavalry = 40
		light_cavalry_defensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_hungarian_3 = {
		desc = ca_culture_hungarian_1_desc
		potential = {
			FROM = { 
				OR = {
					culture = hungarian
					culture_group = west_slavic
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 2 }
		upgrades_from = ca_culture_hungarian_2
		build_cost = 400
		build_time = 2190
		light_cavalry = 50
		light_cavalry_defensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_hungarian_4 = {
		desc = ca_culture_hungarian_1_desc
		potential = {
			FROM = { 
				OR = {
					culture = hungarian
					culture_group = west_slavic
				}
			}
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 4 }
		upgrades_from = ca_culture_hungarian_3
		build_cost = 500
		build_time = 2190
		light_cavalry = 60
		light_cavalry_defensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	
	# Arabian Camel Cavalry
	ca_culture_group_arabic_1 = {
		desc = ca_culture_group_arabic_1_desc
		potential = {
			FROM = { culture_group = arabic }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		prerequisites = { ca_wall_2 }
		build_cost = 200
		build_time = 730
		light_cavalry = 30
		light_cavalry_defensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_arabic_2 = {
		desc = ca_culture_group_arabic_1_desc
		potential = {
			FROM = { culture_group = arabic }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 1 }
		upgrades_from = ca_culture_group_arabic_1
		build_cost = 300
		build_time = 1095
		light_cavalry = 40
		light_cavalry_defensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_arabic_3 = {
		desc = ca_culture_group_arabic_1_desc
		potential = {
			FROM = { culture_group = arabic }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 2 }
		upgrades_from = ca_culture_group_arabic_2
		build_cost = 400
		build_time = 2190
		light_cavalry = 50
		light_cavalry_defensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_arabic_4 = {
		desc = ca_culture_group_arabic_1_desc
		potential = {
			FROM = { culture_group = arabic }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 4 }
		upgrades_from = ca_culture_group_arabic_3
		build_cost = 500
		build_time = 2190
		light_cavalry = 60
		light_cavalry_defensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	
	# Byzantine Cataphracts
	ca_culture_group_byzantine_1 = {
		desc = ca_culture_group_byzantine_1_desc
		potential = {
			FROM = { culture_group = byzantine }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		prerequisites = { ca_wall_2 }
		build_cost = 200
		build_time = 730
		knights = 10
		horse_archers = 10
		knights_offensive = 0.075
		horse_archers_offensive = 0.075
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_byzantine_2 = {
		desc = ca_culture_group_byzantine_1_desc
		potential = {
			FROM = { culture_group = byzantine }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 1 }
		upgrades_from = ca_culture_group_byzantine_1
		build_cost = 300
		build_time = 1095
		knights = 15
		horse_archers = 10
		knights_offensive = 0.075
		horse_archers_offensive = 0.075
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_byzantine_3 = {
		desc = ca_culture_group_byzantine_1_desc
		potential = {
			FROM = { culture_group = byzantine }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 2 }
		upgrades_from = ca_culture_group_byzantine_2
		build_cost = 400
		build_time = 2190
		knights = 15
		horse_archers = 20
		knights_offensive = 0.075
		horse_archers_offensive = 0.075
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_byzantine_4 = {
		desc = ca_culture_group_byzantine_1_desc
		potential = {
			FROM = { culture_group = byzantine }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 4 }
		upgrades_from = ca_culture_group_byzantine_3
		build_cost = 500
		build_time = 2190
		knights = 20
		horse_archers = 20
		knights_offensive = 0.075
		horse_archers_offensive = 0.075
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	
	# Irish Gallowglass
	ca_culture_irish_1 = {
		desc = ca_culture_irish_1_desc
		potential = {
			FROM = { culture = irish }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		prerequisites = { ca_wall_2 }
		build_cost = 200
		build_time = 730
		heavy_infantry = 30
		heavy_infantry_defensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_irish_2 = {
		desc = ca_culture_irish_1_desc
		potential = {
			FROM = { culture = irish }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 1 }
		upgrades_from = ca_culture_irish_1
		build_cost = 300
		build_time = 1095
		heavy_infantry = 40
		heavy_infantry_defensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_irish_3 = {
		desc = ca_culture_irish_1_desc
		potential = {
			FROM = { culture = irish }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 2 }
		upgrades_from = ca_culture_irish_2
		build_cost = 400
		build_time = 2190
		heavy_infantry = 50
		heavy_infantry_defensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_irish_4 = {
		desc = ca_culture_irish_1_desc
		potential = {
			FROM = { culture = irish }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 4 }
		upgrades_from = ca_culture_irish_3
		build_cost = 500
		build_time = 2190
		heavy_infantry = 60
		heavy_infantry_defensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	
	# Ethiopian Light Infantry Drilling Ground
	ca_culture_ethiopian_1 = {
		desc = ca_culture_ethiopian_1_desc
		potential = {
			FROM = { culture = ethiopian }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		prerequisites = { ca_wall_2 }
		build_cost = 200
		build_time = 730
		light_infantry = 60
		light_infantry_offensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_ethiopian_2 = {
		desc = ca_culture_ethiopian_1_desc
		potential = {
			FROM = { culture = ethiopian }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 1 }
		upgrades_from = ca_culture_ethiopian_1
		build_cost = 300
		build_time = 1095
		light_infantry = 80
		light_infantry_offensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_ethiopian_3 = {
		desc = ca_culture_ethiopian_1_desc
		potential = {
			FROM = { culture = ethiopian }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 2 }
		upgrades_from = ca_culture_ethiopian_2
		build_cost = 400
		build_time = 2190
		light_infantry = 100
		light_infantry_offensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_ethiopian_4 = {
		desc = ca_culture_ethiopian_1_desc
		potential = {
			FROM = { culture = ethiopian }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 4 }
		upgrades_from = ca_culture_ethiopian_3
		build_cost = 500
		build_time = 2190
		light_infantry = 120
		light_infantry_offensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	
	# West African Free Warrior Lodge
	ca_culture_west_african_1 = {
		desc = ca_culture_west_african_1_desc
		potential = {
			FROM = { culture_group = west_african }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		prerequisites = { ca_wall_2 }
		build_cost = 200
		build_time = 730
		light_infantry = 30
		archers = 30
		light_infantry_offensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_west_african_2 = {
		desc = ca_culture_west_african_1_desc
		potential = {
			FROM = { culture_group = west_african }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 1 }
		upgrades_from = ca_culture_west_african_1
		build_cost = 300
		build_time = 1095
		light_infantry = 40
		archers = 40
		light_infantry_offensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_west_african_3 = {
		desc = ca_culture_west_african_1_desc
		potential = {
			FROM = { culture_group = west_african }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 2 }
		upgrades_from = ca_culture_west_african_2
		build_cost = 400
		build_time = 2190
		light_infantry = 50
		archers = 50
		light_infantry_offensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_west_african_4 = {
		desc = ca_culture_west_african_1_desc
		potential = {
			FROM = { culture_group = west_african }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 4 }
		upgrades_from = ca_culture_west_african_3
		build_cost = 500
		build_time = 2190
		light_infantry = 60
		archers = 60
		light_infantry_offensive = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	
	# South Slavic Cavalry
	ca_culture_group_south_slavic_1 = {
		desc = ca_culture_group_south_slavic_1_desc
		potential = {
			FROM = { culture_group = south_slavic }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		prerequisites = { ca_wall_2 }
		build_cost = 200
		build_time = 730
		knights = 5
		light_cavalry = 20
		knights_defensive = 0.075
		light_cavalry_defensive = 0.075
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_south_slavic_2 = {
		desc = ca_culture_group_south_slavic_1_desc
		potential = {
			FROM = { culture_group = south_slavic }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 1 }
		upgrades_from = ca_culture_group_south_slavic_1
		build_cost = 300
		build_time = 1095
		knights = 10
		light_cavalry = 20
		knights_defensive = 0.075
		light_cavalry_defensive = 0.075
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_south_slavic_3 = {
		desc = ca_culture_group_south_slavic_1_desc
		potential = {
			FROM = { culture_group = south_slavic }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 2 }
		upgrades_from = ca_culture_group_south_slavic_2
		build_cost = 400
		build_time = 2190
		knights = 15
		light_cavalry = 20
		knights_defensive = 0.075
		light_cavalry_defensive = 0.075
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_group_south_slavic_4 = {
		desc = ca_culture_group_south_slavic_1_desc
		potential = {
			FROM = { culture_group = south_slavic }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 4 }
		upgrades_from = ca_culture_group_south_slavic_3
		build_cost = 500
		build_time = 2190
		knights = 15
		light_cavalry = 30
		knights_defensive = 0.075
		light_cavalry_defensive = 0.075
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	
	# Dutch Urban Militia
	ca_culture_dutch_1 = {
		desc = ca_culture_dutch_1_desc
		potential = {
			FROM = { culture = dutch }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		prerequisites = { ca_wall_2 }
		build_cost = 200
		build_time = 730
		pikemen = 15
		light_infantry = 30
		light_infantry_offensive = 0.075
		pikemen_offensive = 0.075
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_dutch_2 = {
		desc = ca_culture_dutch_1_desc
		potential = {
			FROM = { culture = dutch }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 1 }
		upgrades_from = ca_culture_dutch_1
		build_cost = 300
		build_time = 1095
		pikemen = 20
		light_infantry = 40
		light_infantry_offensive = 0.075
		pikemen_offensive = 0.075
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_dutch_3 = {
		desc = ca_culture_dutch_1_desc
		potential = {
			FROM = { culture = dutch }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 2 }
		upgrades_from = ca_culture_dutch_2
		build_cost = 400
		build_time = 2190
		pikemen = 25
		light_infantry = 50
		light_infantry_offensive = 0.075
		pikemen_offensive = 0.075
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_dutch_4 = {
		desc = ca_culture_dutch_1_desc
		potential = {
			FROM = { culture = dutch }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 4 }
		upgrades_from = ca_culture_dutch_3
		build_cost = 500
		build_time = 2190
		pikemen = 30
		light_infantry = 60
		light_infantry_offensive = 0.075
		pikemen_offensive = 0.075
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	
	# Aztec Jaguar Warriors
	ca_culture_nahuatl_1 = {
		desc = ca_culture_nahuatl_1_desc
		potential = {
			FROM = { culture = nahuatl }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		prerequisites = { ca_wall_2 }
		build_cost = 200
		build_time = 730
		heavy_infantry = 30
		heavy_infantry_morale = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_nahuatl_2 = {
		desc = ca_culture_nahuatl_1_desc
		potential = {
			FROM = { culture = nahuatl }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 1 }
		upgrades_from = ca_culture_nahuatl_1
		build_cost = 300
		build_time = 1095
		heavy_infantry = 40
		heavy_infantry_morale = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_nahuatl_3 = {
		desc = ca_culture_nahuatl_1_desc
		potential = {
			FROM = { culture = nahuatl }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 2 }
		upgrades_from = ca_culture_nahuatl_2
		build_cost = 400
		build_time = 2190
		heavy_infantry = 50
		heavy_infantry_morale = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
	ca_culture_nahuatl_4 = {
		desc = ca_culture_nahuatl_1_desc
		potential = {
			FROM = { culture = nahuatl }
		}
		trigger = { TECH_CASTLE_CONSTRUCTION = 4 }
		upgrades_from = ca_culture_nahuatl_3
		build_cost = 500
		build_time = 2190
		heavy_infantry = 60
		heavy_infantry_morale = 0.15
		ai_creation_factor = 101
		
		extra_tech_building_start = 0.8
	}
}
